package com.g4.shoppingsingle.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("dd_comment_info")
public class DdCommentInfo extends BasePojo {
    private static final long serialVersionUID = -1308719192232833635L;

    @TableId(value = "id",type = IdType.AUTO)
    /**
     * 主键id
     */
    private Integer id;
    /**
     *评论信息
     */
    @TableField("comment")
    private String comment;
    /**
     * 用户id
     */
    @TableField("userId")
    private Integer userId;
    /**
     * 商品ID
     */
    @TableField("pdId")
    private Integer pdId;

    @TableField("delete_state")
    private Boolean deleteState;


    @TableField(exist = false)
    private String userName;//业务数据
}
